Page({
  data: {
    products: [
      {
        id: 1,
        name: 'Lee Cooper竖条纹白衬衣百搭透气 白色衬衣 ',
        price: 299,
        image: "https://img12.360buyimg.com/n1/jfs/t1/179611/32/46893/132063/66543551F3d777aa1/93f1ee5f234e8b01.jpg.avif",
        produce:'200+条评价',
        produce1:'Lee Cooper心达成专卖店 进店》',
        url: "/packageD/fl14/fl14"
      },
      {
        id: 2,
        name: '九牧王男装短袖中年格子爸爸衬衣冰凉丝滑 ',
        price: 374,
        image: "https://img12.360buyimg.com/n1/jfs/t1/230782/3/23548/201801/66b3202dF031e6b41/b4f0698f2a0c7b36.jpg.avif",
        produce:'500+条评价',
        produce1:'九牧王服饰旗舰店 进店》'
      },
      {
        id: 3,
        name: '特步男子夏季时尚衬衣衬衫时尚百搭简约外套',
        price: 219,
        image: "https://img10.360buyimg.com/n1/jfs/t1/227787/20/26425/43790/66bddeabF47354a27/98b857395cd1fae8.jpg.avif",
        produce:'59条评价',
        produce1:'特步自营旗舰店 进店》'
      },
      {
        id: 4,
        name: '罗蒙免烫衬衣男士无痕冰丝长袖弹力打底男装',
        price: 249,
        image: "https://img14.360buyimg.com/n1/jfs/t1/162583/13/24525/48560/663472f9F572d845a/2b4d1bafe0118ee8.jpg.avif",
        produce:'2万+条评价',
        produce1:'罗蒙（ROMON）自营专区 进店》'
      },
      {
        id: 5,
        name: ' JASONWOOD奢侈品牌开衫衬衣百搭休闲上...',
        price: 888,
        image: "https://img12.360buyimg.com/n7/jfs/t1/46844/40/25792/160189/66ac4493Fd92f6919/eb4fbde48a0c1faa.jpg.avif",
        produce:'32条评价',
        produce1:'JASONWOOD均启专卖店 进店》'
      }
      // 可以继续添加更多商品
    ]
  },

  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
